import * as Koa from 'koa';
import { route, RouteOptionsVerify } from "../../common";
class WorkflowController {
    @route(new RouteOptionsVerify('GET', '/api/workflow'))
    async queryWorkflows(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('GET', '/api/workflow/:id'))
    async getWorkflowInfoById(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('POST', '/api/workflow'))
    async createWorkflow(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('PUT', '/api/workflow'))
    async updateWorkflow(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
    @route(new RouteOptionsVerify('DELETE', '/api/workflow'))
    async deleteWorkflow(ctx: Koa.Context, next) {
        ctx.response.body = null;
        await next();
    }
}